#include<stdio.h>

void copyIp(int* ip);

int main(){

    int x = 10;
    int* ip = &x;
    printf("before copyIp() func : x=%d, &x=%p \r\n", x, &x);
    printf("before copyIp() func : ip=%p, &ip=%p \r\n", ip, &ip);
    copyIp(ip);
    printf("before copyIp() func : ip=%p, &ip=%p \r\n", ip, &ip);

}

void copyIp(int* ip){
    printf("inner copyIp() func : ip=%p, &ip=%p \r\n", ip, &ip);
}